﻿namespace Codeflows.Tracking
{
    public class PreparedCodeflowState
    {
        public string Action { get; set; }
        public int DispatchAttempt { get; private set; }
        public CodeflowStatus Status { get; private set; }

        public PreparedCodeflowState(string action, CodeflowStatus status, int dispatchAttempt)
        {
            Action = action;
            Status = status;
            DispatchAttempt = dispatchAttempt;
        }
    }
}
